import * as L from 'leaflet'

let leaflet_map: L.Map | undefined;
export const leafletInit = (container: string | HTMLElement, options: L.MapOptions) => {
  leaflet_map = L.map(container, options)
}
export const getMap = (): L.Map | undefined => leaflet_map